import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np


def student(input_data):
    # ********* Begin *********#
	sns.set()
    plt.figure(figsize=(10,10))
    a=pd.read_csv(input_data)
    a["month"]=a["支付时间"].map(lambda x:int(x.split("/")[1]))
    d=a["实际金额"].groupby(a["month"]).sum()
    d=d.sort_index(ascending=False)
    plt.plot(d)
    plt.savefig("Task1/img/T1.png")
    plt.show()

	# ********* End *********#